<!-- 
/**
 * questionList.tpl
 * 
 * (C) 2009, tetsuya.odaka(EzoGP).
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
 -->
 
{include '../Myznala/templates/myHeader.tpl'}

<!-- ==========  追加スタイルとスクリプト   ============ -->
<style type="text/css"> 
</style> 

<script type="text/javascript">
</script>
	
<!-- ==========  以下がプログラム部   ================ -->

<h4>[sample]　アンケート調査結果の表示</h4>
{assign 'questionDetail.php' detailPage}

<br>
<TABLE border="1">
  <TBODY>
    <TR><TH></TH>
    	<TH style="padding:2px;">HPデザイン（Ｑ１）</TH>
    	<TH style="padding:2px;">HPの内容（Ｑ２）</TH>
    	<TH style="padding:2px;">つまらない理由（Ｑ３）</TH>
      	<TH style="padding:2px;">追加要望（Ｑ４）</TH>
      	<TH style="padding:2px;">その他（Ｑ５）</TH>
	</TR>
	<!-- 指定されたページの情報（result_arrayに取得したもの）を繰り返し表示します。-->

	{foreach $result_array , result_array}
		<TR>
		<TD width=20px align="center"> <a href={$detailPage}?ID={$result_array->getID()} 
				target="blank">{$result_array->getID()}</a></TD>
		<TD width=100px align="center"> {$result_array->getQ1()} </TD>
		<TD width=100px align="center"> {$result_array->getQ2()} </TD>
		<TD width=200px align="left"> {$result_array->getQ3()} </TD>
		<TD width=200px align="left"> {$result_array->getQ4()} </TD>
		<TD width=200px align="left"> {$result_array->getQ5()} </TD>
		</TR>
	{/foreach}
  </TBODY>
</TABLE>
<BR>
<p align="center">
<!-- 簡易ページネーター -->
{include ('../Myznala/templates/pagingFooter.tpl')}

&nbsp &nbsp &nbsp <a href="questionCsvDownload.php">ダウンロード</a>

</p>
<BR>
<HR>
<h4>[sample]　Q1とQ2の集計結果</h4>
&nbsp <a href="questionSummary.php">こちら</a>

<!-- ==========  以上がプログラム部   ================ -->
{include '../Myznala/templates/myFooter.tpl'}
